package com.tb.mapper;

import com.tb.pojo.NatureInfo;
import com.tb.pojo.NatureInfoExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NatureInfoMapper {
    long countByExample(NatureInfoExample example);

    int deleteByExample(NatureInfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(NatureInfo record);

    int insertSelective(NatureInfo record);

    List<NatureInfo> selectByExample(NatureInfoExample example);

    NatureInfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") NatureInfo record, @Param("example") NatureInfoExample example);

    int updateByExample(@Param("record") NatureInfo record, @Param("example") NatureInfoExample example);

    int updateByPrimaryKeySelective(NatureInfo record);

    int updateByPrimaryKey(NatureInfo record);
}